<!--
  Generated template for the Camera page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar class="md toolbar-ios" >
    <ion-title>camera</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <button ion-button block margin-bottom="20px" (click)="getCamera()">拍照</button>
  <button ion-button block round  color="danger">图片</button>
  <div id="odiv">
    {{oimg}}
  </div>
  <img id="oimg" [src]=oimg >
</ion-content>
